Add ability to retain TrackQA for all global tracks#15010
Add ability to retain TrackQA for all global tracks#15010ddobrigk wants to merge 3 commits intoAliceO2Group:devfrom
Conversation
|
REQUEST FOR PRODUCTION RELEASES: This will add The following labels are available |
|
One thing I do not understand from the discussion of yesterday: why don't we use a separate file for the trackQA? |
|
Hello @ddobrigk and all I have read your source code from pull request and discussed with Felix possible ways to reduce the data volume while still enabling thinning in a controlled, physics-motivated manner. We will need a combination – all associated as you did, plus a fiducial cut for the remaining non-associated events. Removing or downsampling non-associated events prevents us from recovering efficiency. At the moment, TPC standalone tracks constitute roughly ~50% of all tracks. Physics motivation for keeping a subset of TPC-only tracksFor tracks above a certain momentum, many TPC-only tracks are close to primary tracks and are useful for association and efficiency studies. In particular, we observe a population of nice, long TPC tracks that carry relevant information. For example, the following diagnostic plot: O2track_iu->Draw(
"fTPCNClsFindable:fTgl>>his(100,-2,2,155,0,155)",
"fX<20 && fX>60 && fTPCInnerParam>0.8",
"colz"
);shows two clear bands in the (NCls, tgl) plane:
These latter tracks are exactly the ones we want to recover, as removing them introduces systematic biases in efficiency and acceptance, especially at the boundaries. Expected recovery fraction after fiducial cutsIf disk space constraints force us to remove part of the TPC standalone tracks, a large fraction of the useful ones can still be recovered using fiducial and quality cuts. From a preliminary inspection, about ~35% of TPC standalone tracks pass a tight fiducial volume and kinematic selection, which targets the region we actually want to recover: O2track_iu->Draw(
"abs(fSigned1Pt)>5 && abs(fTgl)<1.2",
"fX>20",
""
);This suggests that we can significantly reduce the total TPC-only sample, while keeping the physics-relevant subset needed to control systematic uncertainties. Conclusion
I will follow up with a quantitative estimate on recent Pb–Pb production to provide concrete numbers. Best regards,
|
The key question for me is whether such TrackQA data can then be used in standard physics analyses. At the moment, several analyses are struggling with suboptimal efficiencies (an dEdx) compared to Run 1 and Run 2, as well as with mismatches between efficiency&PID in MC and in data. These issues are not only QA-related; they directly impact physics results. For this reason, TrackQA-level information should, in my view, be accessible in the standard physics analysis workflow, not restricted to internal QA-only studies. Otherwise, we lose an important handle to understand and correct efficiency effects, especially in Run 3 conditions. If TrackQA is moved to a separate file, it is important to clarify:
Without that guarantee, separating TrackQA risks making it unavailable exactly where it is most needed. |
|
@miranov25, I thought this PR is supposed to modify the fraction of preserved tracks/trackQA in the current Pb2025 production, in which case there is no time for extra tuning. |
|
Hello @shahor02 , @ddobrigk and @f3sch
From what I have seen, David implemented a switch for the associated tracks in the following way:
However, later the selection criteria are applied independently of the source: This is what I mentioned in the parallel email thread. Moreover, we will need one more parameter for the Tgl selection. We have a q/pt cut, but not an fTgl cut. I see two items in the pull request to be added to enable the functionality or cuts I suggested:
With these two changes, we can proceed. Marian |
|
Hi @miranov25 - let's not mix everything up. Please prepare a new, separate pull request with any changes you want to add and we discuss one thing at a time. Thank you! |
|
This has been tested to work fine and is ready for review. I have only changed the default to "false" as a last action item. |
When do you plan to merge? I do not want to modify the code before you merge. I assumed it would be simpler to make modifications in the same pull request. Otherwise, other switches will be ignored, as I wrote above. And we will need more tess. |


No description provided.